#include "concretefactory.hpp"

int main(int argc, char const* argv[])
{
	Factory *factory = new ConcreteFactory();

	factory->setFactoryFlag(2);

	Product *product = factory->createProduct();

	if (product) {
		delete product;
		product = NULL;
	}
	if (factory) {
		delete factory;
		factory = NULL;
	}

	return 0;
}
